<?php
error_reporting(0);
define('IN_QY',true);
session_start();
require("include/common.inc.php");
define('SCRIPT','ad_list');

$sqlvip = "select * from tbl_vip_record where uid='".$_GET['uid']."' order by id desc limit 1 ";
$queryvip=mysql_query($sqlvip);
$rowvip=mysql_fetch_array($queryvip);	
$huiyaundaoqi =$rowvip['end_vip_date'];	

$zero1=date("y-m-d");



 if(strtotime($zero1)<strtotime($huiyaundaoqi)){
	 
	   $arr = array('code'=>0,'msg'=>'yes');
	   echo json_encode($arr);	
       exit;
	   
 }else{


	   $arr = array('code'=>1,'msg'=>'no');
	   echo json_encode($arr);	
       exit;
 
 }
?>